<?php echo $this->doctype('XHTML1_TRANSITIONAL') ?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="gl" lang="gl">
<head>
    <?php echo $this->headMeta() ?>
    <?php echo $this->headTitle() ?>
    
    <link rel="icon" type="image/vnd.microsoft.icon" href="<?php echo $this->baseUrl() ?>/favicon.ico" />
    <link rel="icon" type="image/png" href="<?php echo $this->baseUrl() ?>/images/favicon.png" />
    
    <link rel="search" type="application/opensearchdescription+xml" title="GalDic"
          href="<?php echo $this->baseUrl() ?>/opensearch.xml" />
    
    <?php echo $this->headLink()->appendStylesheet($this->baseUrl() . '/css/blueprint/screen.css', 'screen, projection')
                                ->appendStylesheet($this->baseUrl() . '/css/blueprint/print.css', 'print')
                                ->appendStylesheet($this->baseUrl() . '/css/blueprint/ie.css', 'screen, projection', 'lt IE 8')
                                ->appendStylesheet($this->baseUrl() . '/js/dijit/themes/tundra/tundra.css')                                
                                ->appendStylesheet($this->baseUrl() . '/js/dojo/resources/dojo.css')
                                ->appendStylesheet($this->baseUrl() . '/js/dojox/widget/Toaster/Toaster.css')

                                ->appendStylesheet($this->baseUrl() . '/css/site.css') ?>
    
    <?php $this->headScript()
               ->setAllowArbitraryAttributes(true)
               ->appendFile($this->baseUrl() . '/js/dojo/dojo.js', 'text/javascript', array('djConfig' => 'parseOnLoad: true'))
               ->appendFile($this->baseUrl() . '/js/dojo/galdic.js', 'text/javascript')
               ->captureStart() ?>
        dojo.require("dojo.parser");
    
        dojo.require("dojox.data.QueryReadStore");
        dojo.require("dijit.form.ComboBox");
        
        dojo.require("dijit.form.TextBox");
        dojo.require("dijit.form.Button");
        
        dojo.require("dijit.Dialog");
        dojo.require("dijit.layout.ContentPane");
    <?php $this->headScript()->captureEnd() ?>
    
    <?php echo $this->headScript() ?>                                 
    
</head>
<body class="tundra">
    
<div class="container">
    <div id="header" class="span-24 last"></div>        
    
    <div id="main" class="span-24 last">
        <?php echo $this->layout()->content ?>
    </div>    
</div>
    
<div id="detail">
    <div class="quiet">                        
        GalDic<br />
        Proyecto fin de curso (Curso Desarrollo Web Avanzado) <br />
        <a href="mailto:vifito@vifito.eu">Tomás Vilariño Fidalgo</a> &copy; 2009
    </div>
</div>    
    
</body>
</html>